package com.qili.service.base.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.base.BaseRule;
import com.qili.mapper.base.BaseRuleMapper;
import com.qili.service.base.BaseRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhangxiaopeng
 * @date 2021-04-06
 * @description
 */

@Service
public class BaseRuleServiceImpl extends BaseServiceImpl<BaseRule,String> implements BaseRuleService {
    @Autowired
    private BaseRuleMapper baseRuleMapper;
    @Override
    public BaseMapper<BaseRule, String> getMappser() {
        return baseRuleMapper;
    }
    /**
    * @Author:zhangxiaopeng
    * @Description:
    * @param baseRule
    * @Date:15:51 2021-04-06
    */
    public List<BaseRule> selectRuleList(BaseRule baseRule){
        List<BaseRule>  list= baseRuleMapper.selectRuleList(baseRule);
        return list;
    }

}
